﻿using System.Windows;

namespace Shared {
	/// <summary>
	/// Interaction logic for CloseDialog.xaml
	/// </summary>
	public partial class CloseDialog : Window {
		public CloseDialog(string caption) {
			InitializeComponent();
			Caption.Content = caption;
		}

		private void Button_Click(object sender, RoutedEventArgs e) {
			Close();
		}
	}
}